package com.ruoyi.merchant.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * province对象 t_province
 * 
 * @author chengxin.ju
 * @date 2023-12-12
 */
public class Province extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String pname;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer status;

    /** 缩写 */
    @Excel(name = "缩写")
    private String abbreviation;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private Long ygNum;

    /** 机构编号 */
    @Excel(name = "机构编号")
    private Long jgNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPname(String pname) 
    {
        this.pname = pname;
    }

    public String getPname() 
    {
        return pname;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setAbbreviation(String abbreviation) 
    {
        this.abbreviation = abbreviation;
    }

    public String getAbbreviation() 
    {
        return abbreviation;
    }
    public void setYgNum(Long ygNum) 
    {
        this.ygNum = ygNum;
    }

    public Long getYgNum() 
    {
        return ygNum;
    }
    public void setJgNum(Long jgNum) 
    {
        this.jgNum = jgNum;
    }

    public Long getJgNum() 
    {
        return jgNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pname", getPname())
            .append("status", getStatus())
            .append("abbreviation", getAbbreviation())
            .append("ygNum", getYgNum())
            .append("jgNum", getJgNum())
            .toString();
    }
}
